Adds and fixes advanced search integration tests

Fixes #287 
Adds the remaining advanced search integration tests. 

1 pending test due to the way implied parenths are handled LN224 #327

3 pending tests due to date range plugin missing LN334 #218