Check if parseTime is supplied when using MySQL.

Fixes #2.
Add a test for #2.