Adds refine query bean for #47
Adds test for multiple refine queries
Adds beans and test fixtures for #47