fix tests for #1129