I came across the following sentence in a manga I was reading:
急いでるみたいだけど間に合ったとして赤点回避なんてできると思ってるの
A boy is being accompanied by a group of girls and they are hurrying to school so they can make it in time for a mid term exam. While on their way to school, they run into a young boy who lost his mother and is asking for help. One of the girls says the sentence in question to the boy. I would also like to add that the boy (not the lost boy) was making a big deal about getting to school on time and hurrying.
In the first part of the sentence (before として), 急いでるみたいだけど間に合った , I believe that she says, "It seems that we were hurrying, however, to be in time (past tense)." The past tense threw me off. I believe that is because it relies on the second part of the sentence.
Then として, from what I've seen, seems to only come after a noun, and what came before it isn't modifying anything that bundles it into a noun. I've also seen a few English translations for it that make it out to be "as for" or "from the viewpoint of" and the following post, What does として mean here?, makes me believe that this may just be an instance of と する.
What comes after として seems to be saying that the speaker thinks that they can avoid getting a failing mark on the test and the use of なんて seems to be downplaying the importance of the situation. (They would fail if they were late.) So the whole sentence would be something like, "It seems like we are hurrying, however I think we can make it in time and avoid failing our tests." I believe this to be right but I just can't see how the Japanese is working here.
So my question is, how is everything working here? What's the translation of this sentence? How is として used? Does the と particle have one of its typical functions here like its conditional use and why is 間に合った in the past?