Phpunit fixes

Makes `phing phpunit` work on the vm.