fix promptForDate test by not using instanceOf check and a less precise date

The `instanceOf` check doesn't work as expected and the `Date` loses some precision during the `toString()` conversion. So we use a date that is less precise and also replace the `instanceOf` check with `Object#toString`.

see #67