Make mocking cofigurable in Test

This has been a long pain point in testing. This patch changes the default and makes it configurable with a simple override on the source.