Dictionary import tests and Temporary file test util

Probably should use an arbitrary dictionary.