jasmine testing implemented