Add a scripted test for macrotracker