updates to testing
Rails 4