Added AccountResource unit test