Add memory leaks test - spaces.