Adds test for an invalid edit