updated test and package.json spec for travisci build