fixes test broken in 5.4+