Refactored: NodeStoreTests to be more generic