Fix replwrap test