Some testing helpers.
test() takes a constructor, a mapper, and expected value, and a message.
It calls the constructor using new, and using fauxNew, passing in a test argument, runs the results through the mapper, and compares what comes out.
If the results for the new operator, fauxNew, and the expected value are all equal, we get a success message. Otherwise we get a failure message.