Fixed cygit2 tests after API changes