[PATCH v2] pm-qa: run sanity check before running test cases