Fix stupid test
Ignore netbeans things
Pull generic test setup into its own file
Add sinon and sinon-chai dependencies
Write some actual tests