testing an angula service