changed iotest to cpp also