Added pretest script in package.json