Create and switch the PROTOCOL_VERSION for tests