Fixes tests and adds more for new package.json config.