extend test harness in preparation for bytecode tests