Add a test for Upgrade.get_server_dir