Improve test case for Body#insertRow and code clean up