Adding tests for dates.py #22