fix tests for #1602