Fixed npm test task, added test skeleton for /events