Tests for update_collate contributed by @Geoff99.

Closes #304