Refactor signUp test.