Adding Jasmine tests to examples