add tests for all FactoryBeans