Add test for larger arrays
Update binary to use the asyc callback signature