Assertions and tidy of addRows
Fix for bad test and additional checks for addRows