Added more tests. Fixed sha256PrepareW.