Preprocessor and package.json changes to run tests