add sha256 test
Continue work on sha256 test.
sha256-test: fix bugs
Merge branch 'master' into sha256test

Conflicts:
	tests/.gitignore
	tests/Makefile.am