minor renaming.
added RemoveOperation tests.
added another query test and fixed a bug with Cursor.