Fix failing test
Remove reference to core-db class
Make rest-api plugin deptends from 1.2 core-db