reapir phpunit tests