Query tests

Added tests for last few query functions
Why not:   'nodes = project.nodes'