Added testing/mocha to the frontend. Its a bit ugly in the way thats its setup.

#TODO: Figure out a better cleaner way to set this up, a-la-rails style.