Added time.h lib and functions to test expire