Add automatized test for sha256
Merge pull request #820 from Kijewski/expect-sha256

tests: Add automatized test for sha256