test cleanup to use the right profile