[ADD] test for invalid replace/insert sequences, etc.
[MOD] refactoring BasicUpdate, etc.
[ADD] on the fly optimizations