Task: Raise exceptions via Task class reference
tests: Add basic Task tests