Added unit test to increase code coverage (coner cases)
Added support for libgcov build in Makefile - that should be transformed in a bash script, as it's not a Makefile anymore