Gave vision test its own state, made camera preview toggleable.