unit test for creating an account