add before script to create database and use rspec spec for testing