Tests the set macro

closes #38