using Spring autowire for tests