automated testing using phpunit