Preheat oven to 350 degrees; lightly grease a 9-inch baking dish. In a large skillet over medium high heat, sauté garlic in olive oil, until translucent. Add spinach, tomato paste, basil and oregano. Add mashed tofu and blend well. Season to taste. Layer pasta in prepared baking dish, spread spinach mixture evenly, top with cheese and repeat layers, finishing with cheese. Bake covered for 45 minutes. Let sit for 15 minutes. Serves 6.