added phpunit functions helper