To reduce text execution time and flakyness this change also introduces a global test server that is initialized when needed and torn down after all tests have completed.