Dictionary import tests and Temporary file test util

Minor style nit, can you get rid of the braces on single line expressions.