Writing a custom rewire-jasmine helper.

* one example without it and one example with it.