Fixes issues with 'discard' in async macro.
Added await test.