Adding the db_spec.rb.

The file contains test for the db.pp
The three variables(mysql_datadir,mysql_root_pass and dbs) were defined in hiera in common.yaml ,and in  db.pp these variables are looked from hiera ,so i added the hiera data,
We can pass these as class parameter also.I will make the changes