[PATCH v3 11/11] tests: Test IOThread related functions for test driver