Add cloning test
add cloning feature to backend

two tests fail because a shallow clone has a faulty parents-reference in the oldest cloned commit