test: add a test for convert_gmttime_to_localtime method