Convert temp directory creation to fixture in tests