Ensure member resource is deleted at the end

AfterClass annotated methods always runs after the declared test methods in its class. It seems that when no test is defined, the AfterClass is not triggered. So I replaced this annotation with AfterSuite, which actually always runs in this case.