Adding the db_spec.rb.

The file contains test for the db.pp
one other thing. There is a performance implication to using an it statement per tests. Basically it is what results in a catalog compile, so in this context, you are compiling a catalog per test when really you only need one per set of data used to compile the catalog.