integration test for invalid user on registration