Adds a test that does a tree and block chains.