unit tests for creating an account