Added IllegalArg test for factory and rebuilt jdoc