Add unit test task with code coverage and dependencies, update test script