Add test for sequencing of I/O in executor
Remove debugging help
Improve FFI accuracy in executor