Added tests for addOldPackage() and checkVersions(). Closes #48. Closes #49.