Fix unit tests compilation issues
Add coverage target to tests Makefile
Fix paths of coverage rule
Put it under the most liberal license