The same tests apply whether you're baking in glass or metal. The cake should be golden brown, and a toothpick inserted into the center should come out clean.