FBTest: automated tests for issue 4979