Fix for python 3. Python3 puts more objects into datetime.timedelta.d* which will cause the nested import completions to fail.
Changed the test case to test for a simpler completion.