Add tests for table-row-new and change store code