Fixed adding coverage to be after each spec

There was a memory consumption problem when using an array to hold all
the coverage objects, so I changed it to update the coverage after each
spec is completed.