In ruby we check for `array.empty?` instead of `array.size == 0`, so it's natural to write the tests in the same way.