Refactoring build target to run PHPUnit tests