modified runalltests to run on octave