Add Npm task with proper unit test