Tests using Jasmine + fix