tests: transformed tests/sha256 into a unittest

Partial fix for issue #1131.

tests/sha256 -> unittest/tests-crypto/tests-crypto-sha256.c