added unit test for parseTime