Add and improve the Interval tests