Testing tangled strings