refactor the test method createFileStream a bit

it was pretty difficult to follow before due to dense logic, short
variable names, and its highly flexible nature. It is still flexible
but should be a bit easier to follow in the future
more test fixes and improvements

- junit temp files
- std.out logging
- clearer and stricter read test
- fix some server tests to use cache instances and consistent settings