[PATCH v2 2/8] test_sysctl: Fix test metadata getters