Add Jasmine for testing token location. #338