finished tests for mapper