Tested using spring xml