added spring config for testcase