Simplify DirectMappedNodeCache test

Do you really need to create them using new ?