Fix assignment of block as actual value and not expected
Merge pull request #1424 from Bovi-Li/test-assert

Fix assignment of block as actual value and not expected