Factory implementation
base phpunit config
add assertion to test whole tree