Added Spring config for test cases.