finished tests of map-building and qc functions