test for a specific date