Added additional tests to the GeoTiff reader and NoDATA replacement

These are the commits of PR #863, updated to master and with some changes to how NoData is replaced.