Add missing test for ProfileList add_alias()
... to ensure that it errors out if a wrong parameter type is given.
This also increases the test coverage of ProfileList to 100%.
I propose this for 3.0 and master to keep the ProfileList tests in sync.