tests for interval validation added