Added support for testing with npm test