test case for profiling