erlang:converted read_go_test to use opcodes