re-implemented cursor tests for invalidator
re-written update_modifier_to_fields.js test
re-work on invalidator templates