update jasmine unit testing.