Wrote profile name validation tests