Added some tests
Added parsing date time, return values corrected