Add specs for mutable shim config
Reset plugins before text.next()
Improve specs