Testing functionality before phpunit