Add end_row unit tests
Add unit test for row completeness
Implement end_row