Adding states and FSM control register for the coretest FSM.