Added tests for null callbacks.