Date.prototype test

Fixes #2