Added custom query test and updated README.