- added and adjusted some tests for db & rest service