added a test: test_whereAndLimit().