Fix wrong argument
Add more tests for services object