Refactored the testcode and added zerodate-test for mysql

Signed-off-by: Max Stemplinger <ms@campudus.com>
could be changed into s""" ...$tableName... """