Refactored the testcode and added zerodate-test for mysql

Signed-off-by: Max Stemplinger <ms@campudus.com>
shall we go with `|` and `.stripMargin` or shall we get rid of all `.stripMargin`?