Added more unit tests into Connected Components - found issue
fixed issue