Adding the db_spec.rb.

The file contains test for the db.pp
the indentation here is wrong