Added more tests to CUDCallbacks (afterUpdate and afterDestroy)