fix factories.xml in sample app to contain new elements, refs #1297