services tests for karma