restructure phpunit tests