Refactor clearRows(), better test

Resolves #1