some phpunit testcases