create jasmine tests for percolator

closes #111