Update qm-test.js