bisect: fix "git bisect skip <commit>" and add tests cases