Test is_open.