Fixed more bugs around cloning of task array
Remove jest test framework, hate it