[ticket/12224] Add assign_block_vars_array() test.

PHPBB3-12224