updated testPackage to write to different results files