Simple tests demonstrating memory impact of certain bibts of code