allow replacement flags. reuse nmedstest3 for a test