STS-3237: added test cases for beans profiles for XML and Java-based spring configs
STS-3347: autowire validation for JavaConfig case works now