lib MDL-26458 adding unit tests to test cursors.