Updated tests to include profile format validation