add an open/close test