Add more and better tests for link queries
Implement BETWEEN for link queries
Implement the IN operator for link queries