added jasmine test unit