All tests are passing

TODO:
* write a test for replaceContent with a polymorphic association
* code review