Using global npm packages and added test