Move Server.start and close to before and after in server test