TESTS: added test re #964