Changing endpoint for reassigning an owner and adding test