add assert open eventually to test