[#1659] factor out common startup code
[#1659] three more package new form tests
[#1659] TestPackageControllerNew: use reset_db