unittests for timeoverlay and clockoverlay