changed test framework from Jasmine to Mocha and added setup for client-side testing