Added test for add_row() failures.