Use normal strings instead of managed ones for the expect function