Fixed test
Added documentation for the time functions