Added tests for callbacks.

Up to 90%+ coverage; updated mocks to return JSON data to better mock results.