Add unit tests for smpl.date