made changes to task.rb, db.rb, and db_spec.rb - currently testing task methods in db