Replaces the old 'should' syntax with the new 'expect' syntax.