creates test for edit controller and updates other tests