Add time unit tests.
Add time unit tests.

vega/datalib,jonasagx/datalib,jonasagx/datalib,vega/datalib,sandbox/datalib,sandbox/datalib,mathisonian/datalib,freeman-lab/datalib,freeman-lab/datalib,mathisonian/datalib