Add some time tests

Signed-off-by: Igor Popov <igor@igorpopov.io>