Solved the integration test issue

Solved the issue of the application-context for the various profile
unit-test, integration-test.