added tests for auth module
added tests for auth module