Tests services and directives