Strict verification of resource deletion in TemporaryFolder rule

PR that adds support of strict verification of deleted resources when using `TemporaryFolder` rule #1001
style-bit: indent this is a continued line, and our normal indent is four spaces, so would indent eight here.