Query tests

Added tests for last few query functions
The docstring isn't correct - what this appears to actually be testing is that free nodes don't show up in the node list for a project. My guess is you copied this from `test_some_non_free_nodes`; make sure to update the docstring when you do that.