Add checks to skip 5.4 only tests on ealier php versions