[refactoring2016] Added tests for the database interfaces

Merge request reports