trying this for injecting mock objects in tests