There MUST be a better way to record coverage in node