lcov support in and tidied up - docs next