test and refactor Issue#ready_for_open?