Testing Open and close, but without print statments