Added tests for InjectionDefinitionBuilder.