tests on time format