[PATCH 02/12] tests: fix tests when test driver is disabled