Added Jasmine & JS constructor tests