Clean up asynchronous behavior in some accessibility tests