phpunit test for Container