Added unit test for date2unix.