Add code coverage ignore for parts that cannot be tested.
Updated unit tests.