Better nmp test script