Fix test init state