created unit test: SetResourceOwner.as_view