Modified the test to check that only the profile name is incorrect