Added optimistic profiler test.