testing with netbeans