Added jasmine testing to example 2