Upgrade regression tests to junit4