Using a global counter to track memory allocations
Include clads_finalize() call on tests