some jasmine tests for parser