add test for profiler and change profile to profiler