Add test for freevar in cuda macros
Merge pull request #803 from sklam/accept_freevar

Add test for freevar in cuda macros