added time interval tests