add date tests, fix getDay to getDate