Updated jasmine testing