Add tests for getting hash code of IEnumerable; fix bugs that tests uncovered.