Added service.js unit test