Fixed profile name formatting test