add phpunit
add method to get config readers
add phpunit.xml and example testcase