Phpunit testing best practise