Refactor LociSet, add tests.