Testing the profiler.