added test for correctly formatted profile name