tests: cleanup open - close test