params correspond to qms,  add more test cases