fixed test break after #1207