added tests for fb-component