Added a new test for passing date