Add chaining tests to string methods.