You are changing the test in a way it won't test what it is supposed to test. You don't call the edit() method any longer.