fix: Added test for finished task and a test

* A bug in parser made it impossible for a task to be finished