Refactor teardown
Add test for server.listen_forever()
Add tests for server.teardown_workers()