How to handle macros in resource tests? - Filament