added some edit tests and form
fixed the issues with forms and edit added tests