Wrote a failing test in jasmine2