memory corruption tests