unit test for create_account