Adding karma/jasmine tests