added tests for interval and set units