[PATCH v6 12/18] kunit: test: add tests for KUnit managed resources