added code coverage generation for unit tests
removed some TODOs