write test for macro and basically it works
add pretty debug message