Writing tests for user sign up