Add more tests and modify tikz.Profiler accordingly