fix profilemanagersingleton tests