Add unit tests on items manipulations in DB API layer

Change-Id: I6479de55c5df0d110f231f430d681a3e85547654
Merge "Add unit tests on items manipulations in DB API layer"