added tests for date fields