Added getters for start and end address, along with a utility method and some tests.