Bugfix
Configure coverage directory
Add tests