Fix the assumption in the propagate_const test about local layout