more robust test for missing profile