Allow addr to be optional.
Split some long lines.
TestMainServer().