Tests for open.