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