store shared strings in variables based on feedback from @diracdeltas; fix failing tests. re: #479 #489