added karma testing for front end, mocha testing for back end