This MR provide additional tests and various modifications in order to reach 100% code coverage using the branch coverage.
To achieve this the following modifications were made:
- Addition of unit and functional tests
- Fix of newly found issues
- Exclusion of coverage if a condition is now useless but may become useful in future code modification
- Removal of useless condition check that may not become useful in case of code modification
Some more justification may be found in the commit message.
Closes #136 (closed).