walk_branch: moved from versioned collection
fixed tests
jshint: remove cyclomatic complexity check