I don't think that Mab not telling Harry was a test. You don't test someone like that over something so serious because it's no longer a test, it's real. My guess is either she didn't see a reason to tell him, or even him knowing would be worse than not knowing, or part of the deal with Nicodemus meant she could not tell Harry the nature of the artifacts.
You are forgetting what Hades told Harry, the process of inquiring the artifacts/weapons is a test... As in only the strongest and smartest is good enough to end up with them, this is the safe guard.. There are no cheat sheets, for the war to come Mab wants her Knight to be the smartest and the brightest and holding the weapons.. Nick thinks he is the smartest and the strongest, so he thinks he is being clever just asking for the Grail, figuring he will then easily get the rest of the artifacts.. Mab is gambling that Harry is the smartest and the strongest, so he will end up with the weapons, and if not, he dies, she looks for another Knight... Nic loses because if Harry fails he isn't going to get the weapons.. If Nic really was the smartest and the strongest he wouldn't have needed to call in the favor in the first place to use Mab's Knight.