Fix archive functional test