added test for source_profile feature flag