Fixed test_get_file_extensions() on Python 3.

(removed dependency on dictionary iteration order)
Merge pull request #221 from timgraham/test_get_file_extensions_fix

Fixed test_get_file_extensions() on Python 3.