Dictionary import tests and Temporary file test util

Again here can we just compose this with the next line and use a single `must` assertion (and drop the `ThrownExpectations`)? /nit