fix line polygon test
cleanup
update tests