add test for decode_row() and add meanless test for clear_row()