Bugfix

Fixes an incorrect management of header fields that led to crashes.
Convert functions to macros

Converts the assert_store_n_eq() and assert_dyn_table_n_eq() utility
functions to macros so the right source code location would be shown
when a test fails, in opposition to the function info as it was being
shown now.