Updated tests.

Added one to check for a block in the same notebook.
Also made the queries a bit more complicated (so it will create a new collection).