Added test for exception when invalid op code is returned by resolver