Fix the profiler tests.