test fixups
fixes to profile cleanup