Removed unnecessary a setting of testing.
Fixed to use HttpResponseRedirect not redirect shortcut:

Before one needs ROOT_URL setting, it's too much.
Added a test for admin_required decorator.