remove cache services
add new tests for trainer