Fix topic state test