expanded tests for gather_macros