added output check to test
Merge pull request #2 from hchandl/aggregateMapperError2

added output check to test