adding phpunit test for config object