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