Fix splitext
Rewrite test_service for new service object
Refactor services object for easier testing
Add assets for tests
Start with tests for services object