Added tests for enumerable factory registration.