Fixed a problem with loader that caused tests to crash

the loader was skipping the last two rows of a map