Fix test failure detection for octave/r2_data_categorization