- collect coverage data with onSpecComplete

To support the end2end test covergare scenario it was needed to collect the coverage
result with onSpecComplete.