REVIEW-4371/REVIEW-4372: Added more test coverage for POM active profiles support.