Simplifying pipeline tests through use of async/await