Add testing for node-service.
Remove unused declaration.