Added integration tests and GetBranchesTask