internals test: fix printing for octave