Fix tests and also add tests for non-existing repo
Fix tests and also add tests for non-existing repo

dplarson/gitlabhq,dreampet/gitlab,htve/GitlabForChinese,t-zuehlsdorff/gitlabhq,iiet/iiet-git,mmkassem/gitlabhq,dplarson/gitlabhq,openwide-java/gitlabhq,t-zuehlsdorff/gitlabhq,t-zuehlsdorff/gitlabhq,axilleas/gitlabhq,openwide-java/gitlabhq,darkrasid/gitlabhq,openwide-java/gitlabhq,htve/GitlabForChinese,htve/GitlabForChinese,dreampet/gitlab,LUMC/gitlabhq,stoplightio/gitlabhq,LUMC/gitlabhq,htve/GitlabForChinese,axilleas/gitlabhq,iiet/iiet-git,stoplightio/gitlabhq,darkrasid/gitlabhq,LUMC/gitlabhq,jirutka/gitlabhq,axilleas/gitlabhq,darkrasid/gitlabhq,t-zuehlsdorff/gitlabhq,jirutka/gitlabhq,stoplightio/gitlabhq,dplarson/gitlabhq,mmkassem/gitlabhq,stoplightio/gitlabhq,dreampet/gitlab,openwide-java/gitlabhq,darkrasid/gitlabhq,jirutka/gitlabhq,mmkassem/gitlabhq,LUMC/gitlabhq,dreampet/gitlab,iiet/iiet-git,jirutka/gitlabhq,dplarson/gitlabhq,iiet/iiet-git,mmkassem/gitlabhq,axilleas/gitlabhq