Update tests for latest API

Updates the ClassifiedRegionTest and IntervalTest to be in line with the
current API