refactor point unit tests into parameterized tests