Add a couple basic isadate tests and fix code so they pass.