added an example karma/jasmine js testing setup