updated jasmine BDD tests