fix config options
fix build order
Moved TempFile tests to other assembly to avoid InMemory tests preloading.