Add tests for parent(), next() and prev() methods