Added tests.
Fix project.
Added nbproject to gitignore