simq class throws an error if package.json file does not exists + tests