implemented test task for npm and grunt