Add tests for sign-in