Downgrade used PHPUnit version due bug in PHPUnit 4.x mocking

Related to #488