Getting around phpunit issue?