Fix coverage in netbeans.