phpunit support and initial tests