Add tests for user sign in correctness