tinytest: Use indexOf for string matching