Dictionary import tests and Temporary file test util

I think it makes sense to test different combinations of functionalities across the various possibilities for repositories if we indeed support all those combinations. However if that's the case I would write a deterministic test where we explicitly describe all those combinations.