test for services.rb