Can you add comments explaining what this test checks for? At first glance, it's not evident what's going on here.