more robust test
open and close independently