some phpunit tests added