update README, add test to verify query() behavior
update readme