Some cleanup and memory location print

This concludes this test for now