One more unused method removed.
Added tests for getNext()