More unit test coverage around the profiler.