made look-ahead tests use strings for type check