test/ground_state: new API fixes