fixes in code related to testCreateRevisions test