FIX: issue #787 (REDUCE/into and COMPOSE/into do not always return a blo...

...ck)
TESTS: Add tests for issue #787