Update test_task.py

Delete additional lines
Debug code
rewrite decorator class to decorator function
Merge pull request #2 from AnMic/test

Debug code