Reusing setup_server helper method