This commit adds a test to ensure NewShaHash fails as expected when the passed buffer has too many bytes to be a valid sha hash.