Cook pasta according to package directions. Drain pasta; rinse with cold water. Drain again.
In a blender container or food processor bowl combine undrained tomatoes, tomato paste, wine or water, sugar, oregano, thyme, and pepper. Cover and blend or process until smooth. Set aside.
In a large skillet cook ground beef, onion, and garlic until meat is brown. Drain fat. Stir in tomato mixture. Bring to boiling; reduce heat. Cover and simmer for 10 minutes. Stir in pasta and olives.
Divide the pasta mixture among six 10-ounce casseroles. Bake in a 375 degree F. oven for 15 minutes. (Or, spoon all of the pasta mixture into a 2-quart casserole and bake for 30 minutes.) Sprinkle with mozzarella cheese. Bake 5 minutes more or until heated through. Makes 6 main-dish servings.