Added Db and Dependency Exceptions
Fix repeats quantity in tests