Added test to make sure the correct data is shown on the edit page