tests: str2time still fails under win, but at least not crashes

i suspect the problem is that the time conversion doesn't happen in GMT
make the time conversion a bit more readable/debuggable