[PATCH v2 6/7] test: add poll-weight support to the test driver