Add test helper for FIRM graph construction unit tests