Add custom auth tests

Added tests for custom authenticator