added tests for sign in