Brings tasks/user.py coverage up to 100%
Fixes pep8 and pyflake for tasks/user.py