added test for RexOps/Rex#495