Task  #13

Add db throw err test.