Prototype-based tests with Jasmine 2