test: modify async listener tests

By removing the async listener at the end of the page for some reason no
other error handlers are working properly.