Fixed url for config/environments/production.rb
Added some test and db migration