tests for registration and signin