Unit tests for configuration classes implementing the JSR-330 Provider interface

Issue: SPR-11830
Unit tests for custom profile annotations on configuration classes

Issue: SPR-11808