added assertions for local date and tests
fixed "type" in local time assert