Removed QDM and implemented pref methods in test script