Assoc update cleanup and added testcases

1. Move function to associative engine utils
2. Added complex testcases(Language only+Live runner) - test needs simplification and requires dummy geometry functions to be added to FFITarget. Defect is created for this
3. Set the test category and associated defect

@lukechurch 
We really need to stop using these int indecies to carry other meaning, it's causing too many bugs and is poor design in general. This ain't C.