Unit tests for date methods added