[PATCH v2 05/10] tests: Fix the usage of require directives.