Correct notify_revision_created and add test coverage