moved string matching tests to core