Add a test for profiling.