Profiler additions and tests
Added enable and disable profiler tests