more extensive phpunit testing