Issue #3131820 by jungle, mero.S, quietone: Replace assertions involving calls to is_string() with assertIsString()/assertIsNotString()