Improving remote code coverage collection code

Related to #13