write tests for TimeParser initiatlize method