test via netbeans