Added Jasmine and a unit test for Entity2d