add unit tests for convert-result-arrays