Fixed some race conditions.
Ran go fmt.
Ensured that server failure test will fail.