switched to mocha and wrote some more example code including a searchbox directive