added test for error message opcode, and tests for the options message