Add some more unit tests for datetime parsing
Fix some bugs when casting null to a non-nullable value type by throwing an exception and fixing the unit test.
Fix the unit testing framework to report the exceptions that cause no failures to occur