added error log checks to the bytecode tests.