Add test task for npm