Add a test which verifies no changed_attributes indexing