refs #5065 add back the factory()  method for backward compat
refs #5065 add test to be reminded to remove @deprecated method