Removed JOIN from -test-paths query