Don't use local config in unit tests.

+ Define a constant in phpunit.xml.
+ Only set __CA_LOCAL_CONFIG_DIRECTORY__ when not in a unit test.