Added jasmine tests for Splitter class.