added missing phpunit tests