INT-3420 Fix Broken Test

Test did not set (required) BeanFactory.