added test environment config in database.yml
modified gemfile to add spork-rails for rails4. modified spec_helper in order to make spork works