Move PHPUnit to require-dev and fixes directory references to tests.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge pull request #2970 from crynobone/patch/phpunit

[Fixes] Move PHPUnit to require-dev and fixes directory references to tests.