add behat and phpunit tests