[PATCH v2 5/7] tests: Fix the usage of require directives.