Merge pull request #1081 from struberg/fb_optional_bean_it

add an integration test for optional beans