unit test + edit interval