added a test for the edit functionality of the site