Refactored: Node store tests to be more generic