Jasmine tests 2g
also fixed a function in hist-data