Start testing for safe localtime functions, TODO, test more functions.