Added unti tests for the service, filter and both directives.