Adding the db_spec.rb.
The file contains test for the db.pp