Jasmine tests for doctopus