fixed legacy test