Improving PHPUnit tests.