Re: [PATCH v3 2/2] tests: add tests for clearing resource