Add edit tests, edit authorization