Test: Synchronize hooks order

The 'synchronize' functions now also accepts arrays of functions

Fixes #647
Closes #650