add getters for next and previous, and more tests