fix test for <5.4 compat