Add empty test
Fixes #28. Record total amount of allocated memory