Added getters for start and end.
Added tests for getters and iterator.