Fixed bug in profile name validation. Added profile name testing