added tests for time