unused imports
Fix bug with sub-second deltas to test_time.

Also add coverage for other sub-second use of test_time and test_datetime.