add contextmanager for ignoring exceptions, and add todatetime utility function... more tests