Merge "Add test for heuristic palm rejection" into tm-qpr-dev