Fixed the edit test case issue.

Took the code outside of the dev to p for the javascript to work.

also changed the image path to update with chau's image