FBTest: test for issue 6474