Adding socket jasmine tests