factory methods which use ad-hoc injectors always need tests.
Authored by: michaz 2015-05-11
Parent: [r33082]
Child: [r33084]