Fix var names, method names. Combine upload package handler tests.
Add set permission test.
Extract mocks and tested instance to setUp method, fix test URL and use debug as test kwarg.