Improved date test by making the test dates fixed rather than using 'now' which might change from time to time.