tests for #702