Addressing polesye comments.

Adding more Jasmine tests.