Fixed the final PHPUnit test by disabling PHP deprecated warnings