added tests for RexOps/Rex#381