Added tests and enabled code coverage generation by default