Added tests for sign in