Unit test fixes
sync lock review fixes
Added linting to npm test command