testsuite/factories: fix typo (comma after class definition)