added testing via npm test