Added database_spec.rb for testing database stuff.