Testing for context-profiler creation