#3899: Added test for profiling of gedit