Tests: Use asyncTest() method, replacing test() and stop() calls

Closes #1097