Fix scaling test