gitignore on test-driver and netbeans

merge #4165 and #4164 and remove unrelated typo