Test for mass-assignment issue

Initial exploration seemed to point to a mass-assignment issue; this
change adds a test which attempts to reproduce the configuration that
rails is using when running the application that fails.