removed unused test factory