Add few helper functions for graph inspection
Add test case for empty templight trace parsing