Tests for async/await, plus bugfixes
Added updated reference files for test cases