adding test to the AvroCallbacks to ensure that no error is thrown with the close callback when no callback is set