add spring test cases