Tests for the splitAt() method.