modified one in testgit
megre from clone_test