add jasmine tests for calculator