CodeCoverage: call c3 end point instead of root on beforeTest

I made this little change because I think that it should communicate with c3 end point only. At least it allows to have end point just for the code coverage generation.