Added first tests and dateutils