open & close test