Setup test framework.
Add create and drop task for test database.

Run

    rake db:create

to create a test database.

Run

    rake db:drop

to drop the test database.
Add pg gem