fixed some formatting in TestCase
Added support for dates with no space