fixes to get profiling tests working again