Bug Fix: Added error message for missing lcov.info

Also did a lot of refactoring and failed attempts at testing