Adding tests for the OR functionality 

This is adding tests for the #96. Once the tests are merged in, I will start implementing it for the mysql adapter