fixed GetHashCode() bug and added more samples