Create test harness and add success / failure functions