updating spring version and test to match manual and autowired versions.