Test data and controller for date type form validation