add spring test  javaconfig