Version 0.5.1: Fixed broken property injection feature for factories.
Refactored tests to ensure full coverage of factories to avoid repeat
of situation.