Heavily simplify test/mapper.js by abstraction.

test/mapper.js
	-There existed a significant amount of redundant (almost
	identical) code in the `createMapperFields()` and
	`createMapperKeep()` tests, used to create a mapper stream,
	write to it, and test its output.
	-Abstract it away into a function `testCreateMapper()`.