If the test is open book, open Internet, that doesn't mean you can ask your friends on Facebook for help, just because Facebook is on the Internet.
I think that the class was likely poorly designed, but that doesn't mean that the students are all in the clear.