Refined many tests
Found date format bugs