Jasmine testing implemented