add test_initialize_services and small cleanups
add test_loading_service_class