Migrated to JUnit4
Removed serialization warning
Refactored and fixed handling of Task handling/sending and Task building
Refactored and fixed handling of Task handling/sending and Task building