Added a findit test to the JSON-API tests.
added another findit json API test.
Findit-definition test in json-api tests.
Added history-undo json API test.