Added an extra test case for PHP-637.

The code was working fine, but a very specific test case doesn't hurt of
course.
Added an extra test case that goes through writing/reading MongoDate.
Fixed typoes.