spring fixed for JUnit