test(update): add test for update associations and helper for removing options