Fixed bug causing exception if first tile of tile iterator is null
Added tests for Java2DTileRenderer