add tests and a unix date converter