Integration with phpunit tests