[PATCH 2/3] selftests: cgroup: Minor code reorganizations