[ticket/12570] Add a test for set_array() and updating with the same value

PHPBB3-12570