By using `assert_equal(N, 2)` you get a more useful message if it fails.  Same comment for the next two assertions.