Support phpunit 4.0

Still compatible with 3.7
Tests not affected