Added profiler test to main.c