Removes redundant code in channelMapper_test.