tests for prog macro