Added a performance test
Adds a way to test the new query planner