Fix single spaces between methods in test_dict.py