Allocation tests: unit testing for memory allocation in the JVM | Dark Hacker News