add server side jasmine tests, partials, api