Added support for unit testing with PHPUnit