added test spec for account.rb