Ignore coverage warnings which are irrelevant.
Remove the try:except around the send_email, if the email fails, it's quite rare and we can't really do anything but fix it anyway.
Added tests to test the admin commands.