Add unit test cases for authentifier.