fix tests for #fabd8faf