tests for RexOps/Rex#498