test: add a test for normalize_time_str method