Adding the db_spec.rb.

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