tests for date converter