Allow unittest to be run with older PHP versions