added jasmine bdd testing