TESTS: uncommented test for issue #765