Fixed injection problems in PomGenerator2Test