[tests] added regressions for vcs.is_usable method
[all] separated is_on_tree methods as a static method of each VCS class