added unit tests for ListClassFactory