test: modify async native test.js to test for #4820