Add an integration test for services.
Merge pull request #1559 from brendandburns/fix

Add an integration test for services.