Fixed error in packages.json and reversed logic in unit tests