removed global leek
starting to convert to mocha
fixed more globals
rewrote all to use mocha