(bug) Fixed errors with npm test.