created a test harness to consolidate test file code