Add a test for pipeline concatenation

Signed-off-by: Solomon Hykes <solomon@docker.com>
Add a test for DB.setTree

Signed-off-by: Solomon Hykes <solomon@docker.com>