added npm test
formatting