The test now covers additional messages being sent by the pam api.
Both a normal PAM user and anonymous user mapping are tested.