made a few changes to Edits and the tests for it