add test for add() and get_all_rows()