Use more durable assertion.

MySQL has length, SQLite does not :(
Datetime tests in MySQL will return the time portion as well.

Use a less sensitive assertion here.
On some machines the de_DE locale is full of lies.

Skip tests when they will fail.