Unit testing example using PHPUnit