testing from netbeans