Added _assertCallback, refactored multiple snippets to use this new method.