Test from netbeans