Authentication Message Handler unit tests