integration test for downgrading