Added clearRows() and a ton of tests