Remove finicky key counts in graph tests.
Use toBeUndefined matcher.