TestBuildElementFactory