add jasmine tests for norec merge