Re: [PATCH] tests: add tests for clearing resource