Added tests for PropertyInjection
Improved tests for DefinitionManager