Make mocking cofigurable in Test
Merge pull request #663 from twitter/transformTest

Make mocking cofigurable in Test