When you're using the book, and taking a test at the same time, I feel you are still learning. A micro teacher at my college allows her students to do this. But many professors generally don't.
Is there a study or source that says those who don't need a book to take a test are generally more smarter?