phpunit tests (wip)