Scan for expressions in string model nodes in testing

This also contains Stefano's work on AS7-6325 from #3877