Used Rails 4 method of white listed attributes to make the tests work.