initial tests for #680