Created test cases for all Db scenarios.