tests for i-o mex