Injecting test doubles instead of beans using Spring's code configuration