make test more spring like

replaces constructor injection by property injection within spring