updated phpunit tests