Separated jasmine tests into API and PrivateFunctions blocks