Category that allows the dev to specify blocks for the success and failure cases