implementation of timeStringToMilliseconds
expect timeStringToMillisconds to throw an exception if wrong input is provided
throw exception on wrong time format
added test for input time validation