SCR tests: Added tests for new, merged, abandoned functions workign with changes table.

The gerrit database should be updated in order to have changes data.