Remove phpunit compatability function calls

phpunit.php now requires we run tests with
3.7.0+ so we no longer need these safety
calls

Change-Id: I15d215630fe4d8ab71fc97883dde2eed13d03678