Blocks in stubs for public Jasmine tests.