Fixed test for rc == 8 not rc = 8