The node swap metric was incorrectly using the memory timestamp instead of the swap timestamp. This change corrects the timestamp and adds a test case to verify the fix.