fixed mocha script to add command-line parameters
Added a smoke test to verify mocha is working