Fixed issue with broken time conversion in unit test